package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 属性值对象 sx_attr_value
 * 
 * @author cq
 * @date 2024-05-08
 */
public class SxAttrValue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    private Long attrValueId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 值 */
    @Excel(name = "值")
    private String value;

    /** 属性ID */
    @Excel(name = "属性ID")
    private Long attrId;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attrName;

    /** 创作者 */
    @Excel(name = "创作者")
    private String createUserName;

    /** 创造者id */
    @Excel(name = "创造者id")
    private String createUserId;

    public void setAttrValueId(Long attrValueId) 
    {
        this.attrValueId = attrValueId;
    }

    public Long getAttrValueId() 
    {
        return attrValueId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }
    public void setAttrId(Long attrId) 
    {
        this.attrId = attrId;
    }

    public Long getAttrId() 
    {
        return attrId;
    }
    public void setAttrName(String attrName) 
    {
        this.attrName = attrName;
    }

    public String getAttrName() 
    {
        return attrName;
    }
    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }
    public void setCreateUserId(String createUserId) 
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attrValueId", getAttrValueId())
            .append("name", getName())
            .append("value", getValue())
            .append("remark", getRemark())
            .append("attrId", getAttrId())
            .append("attrName", getAttrName())
            .append("createUserName", getCreateUserName())
            .append("createUserId", getCreateUserId())
            .toString();
    }
}
